package net.qhzw.vip.qiyu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;


/***
 * 担保公司站点用户
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "guarantee_user")
public class GuaranteeUser {

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    /**
     * 商铺ID
     */
    @TableField(value = "shop_id")
    private Long shopId;

    /***
     * 站点id
     */
    @TableField(value = "site_Id")
    private Long siteId;


    @TableField(exist = false)
    private String siteName;

    /**
     * 真实姓名
     */
    @TableField(value = "real_name")
    private String realName;

    /**
     * 身份证号
     */
    @TableField(value = "id_card")
    private String idCard;

    /***
     * 家庭住址
     */
    @TableField(value = "address")
    private String address;

    /**
     * 手机号码
     */
    @TableField(value = "mobile")
    private String mobile;

    /**
     * 性别：0 男， 1 女
     */
    @TableField(value = "gender")
    private Byte gender;

    /**
     * 0 未担保, 1 担保
     */
    @TableField(value = "status")
    private Byte status;

    /***
     *  注册时间
     */
    @TableField(value = "created")
    private Date created;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

}
